package com.ccb.sc.common.modules.setting.vo;

import com.ccb.sc.common.bind.annotation.Mapping;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author ken
 * @version 1.0
 * @date 2020-09-23
 */
@ApiModel("店主申请门槛设置")
public class ShopkeeperApplySettingsVo implements Serializable {

    @ApiModelProperty("优秀店主下级人数")
    @NotNull
    @Mapping(value = "shopkeeper.level1.team")
    private int level1Team;

    @ApiModelProperty("优秀店主累计订单金额")
    @NotNull
    @Mapping(value = "shopkeeper.level1.totalAmount")
    private int level1TotalAmount;;

    @ApiModelProperty("卓越店主团队人数")
    @NotNull
    @Mapping(value = "shopkeeper.level2.team")
    private int level2Team;

    @ApiModelProperty("卓越店主累计订单金额")
    @NotNull
    @Mapping(value = "shopkeeper.level2.totalAmount")
    private int level2TotalAmount;;

    @ApiModelProperty("合伙人团队人数")
    @NotNull
    @Mapping(value = "shopkeeper.level3.team")
    private int level3Team;

    @ApiModelProperty("合伙人累计订单金额")
    @NotNull
    @Mapping(value = "shopkeeper.level3.totalAmount")
    private int level3TotalAmount;

    @ApiModelProperty("团长下级人数")
    @NotNull
    @Mapping(value = "shopkeeper.level4.team")
    private int level4Team;

    public int getLevel1Team() {
        return level1Team;
    }

    public void setLevel1Team(int level1Team) {
        this.level1Team = level1Team;
    }

    public int getLevel1TotalAmount() {
        return level1TotalAmount;
    }

    public void setLevel1TotalAmount(int level1TotalAmount) {
        this.level1TotalAmount = level1TotalAmount;
    }

    public int getLevel2Team() {
        return level2Team;
    }

    public void setLevel2Team(int level2Team) {
        this.level2Team = level2Team;
    }

    public int getLevel2TotalAmount() {
        return level2TotalAmount;
    }

    public void setLevel2TotalAmount(int level2TotalAmount) {
        this.level2TotalAmount = level2TotalAmount;
    }

    public int getLevel3Team() {
        return level3Team;
    }

    public void setLevel3Team(int level3Team) {
        this.level3Team = level3Team;
    }

    public int getLevel3TotalAmount() {
        return level3TotalAmount;
    }

    public void setLevel3TotalAmount(int level3TotalAmount) {
        this.level3TotalAmount = level3TotalAmount;
    }

    public int getLevel4Team() {
        return level4Team;
    }

    public void setLevel4Team(int level4Team) {
        this.level4Team = level4Team;
    }
}
